//
//  DTHomeCollectionViewCell.m
//  DoThinkProperty
//
//  Created by YangJian on 15/9/24.
//  Copyright (c) 2015年 DoThink. All rights reserved.
//

#import "DTHomeCollectionViewCell.h"
#import "Header.h"
@implementation DTHomeCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor whiteColor];
        _imageView = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, self.contentView.bounds.size.width/1.5, self.contentView.bounds.size.width/1.5)];
        [self.contentView addSubview:_imageView];
        
        
        _label = [[UILabel alloc] initWithFrame:CGRectMake(10, _imageView.frame.size.height, self.contentView.bounds.size.width - 10 , self.contentView.bounds.size.height - _imageView.frame.size.height )];
        [self.contentView addSubview:_label];
        
    }
    return self;
}
@end
